package com.shangcheng.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shangcheng.model.domain.SmsFlashPromotion;

/**
 * 活动
 */
public interface SmsFlashPromotionApi {
    boolean create(SmsFlashPromotion flashPromotion);

    boolean delete(Integer id);

    SmsFlashPromotion findById(Integer id);

    SmsFlashPromotion update(SmsFlashPromotion flashPromotion);

    IPage<SmsFlashPromotion> list(Integer pageNum, Integer pageSize, String keyword);
}
